#ifndef FILTER_H
#define FILTER_H 
#include "ResponseHeader.h"

void requestShortCommand(int net_fd, unsigned short command, const char *parameter);

void requestLongCommand(unsigned short command);

/* 处理对应请求，既发送文件还是接收文件 */
int resolve(int net_fd, unsigned short command, ResponseHeader* header);


#endif // !FILTER_H